﻿using System;
using System.Collections.Generic;

namespace MinimalistFoodStreet.BackEnd.Infrastructure.EFCore;

/// <summary>
/// 历史记录表
/// </summary>
public partial class History
{
    /// <summary>
    /// r,d-编号
    /// </summary>
    public int HId { get; set; }

    /// <summary>
    /// c,r-商品编号
    /// </summary>
    public int HGoodId { get; set; }

    /// <summary>
    /// c,r-商家编号
    /// </summary>
    public int HBusinessId { get; set; }

    /// <summary>
    /// c,r,u-浏览时间
    /// </summary>
    public DateTime HVisitTime { get; set; }

    /// <summary>
    /// r-创建时间
    /// </summary>
    public DateTime HCreateTime { get; set; }

    public virtual Businesss HBusiness { get; set; } = null!;

    public virtual Good HGood { get; set; } = null!;
}
